OBJ object_name "description" : [object_declaration] := {: value <- [data] :};
The value attribute defines the default value for an object.
Example:
OBJ Kla "Oxygen transfer coefficient" : OxygenTransferCoefficient := {: value <- 50 :};
OBJ object_name "description" : [object_declaration] := {: unit <- [data] :};
The unit attribute defines the unit for an object.
Example:
OBJ p "Head pressure in the digester" : Real := {: unit <- "Pa" :};
OBJ object_name "description" : [object_declaration] := {: group <- [data] :};
The group attribute defines the group for an object.
Example:
OBJ Q_Out "Effluent flow rate" : FlowRate := {: group <- "Operational" :};
OBJ object_name "description" : [object_declaration] := {: interval <- {: lowerbound <- [data]; upperbound <- [data]; :} :};
The interval attribute defines the interval for an object. A lower and upper bound can be specified. Two special macros are foreseen for minus and plus infinity (MIN_INF: minus infinity; PLUS_INF: plus infinity).
Example:
OBJ p "Head pressure in the digester" : Real := {: interval <- {: lowerbound <- 0; upperbound <- PLUS_INF; :} :};
OBJ object_name "description" : [object_declaration] := {: quantity <- [data] :};
The quantity attribute defines the quantity for an object.
Example:
OBJ p "Head pressure in the digester" : Real := {: quantity <- "Pressure" :};
OBJ object_name "description" : object_declaration := {: nature <- [data] :};
The nature attribute defines the nature for an object. The possible values are "THROUGH", "ACROSS" and "FIELD". An object with nature "THROUGH" cannot be linked with an object with nature "ACROSS" (i.e. they are incompatible).
Example:
OBJ Inflow "Influent" : Real[14;] := {: nature <- "ACROSS" :};